package com;

import com.baomidou.nihao;
import com.sun.org.apache.bcel.internal.util.ClassPath;

import java.lang.reflect.Field;
import java.util.Arrays;

public class asd implements nihao {

    @Override
    public int acs(String nihap) {
        return 0;
    }

    public String xx;
    public String x1;

    public String getX1() {
        return x1;
    }

    public void setX1(String x1) {
        this.x1 = x1;
    }

    public String getXx() {
        return xx;
    }

    public void setXx(String xx) {
        this.xx = xx;
    }
}

class x{
    public static void main(String[] args) throws ClassNotFoundException, InstantiationException, IllegalAccessException {
        asd asd = new asd();

        Class<?> aClass =  Class.forName("com.asd");
        asd o = (asd) aClass.newInstance();
        Field[] declaredFields = aClass.getDeclaredFields();
        Arrays.stream(declaredFields).forEach(x -> x.setAccessible(true));
        o.setXx("x");
    }
}